import 'package:flutter/material.dart';
import '../../interface/chat_room_leaf_interface.dart';
import 'car_list_page.dart';

class CarsWidgetModel extends ChatRoomChangeNotifier {
  openCarListPage(BuildContext context) {
    _openModalBottomSheet(context, (context) => const CarListPage());
  }

  _openModalBottomSheet(BuildContext context, WidgetBuilder builder) {
    showModalBottomSheet(
        isScrollControlled: true,
        backgroundColor: Colors.transparent,
        context: context,
        builder: builder);
  }
}
